package entity;

/**
 * AbstractOrdersbook entity provides the base persistence definition of the
 * Ordersbook entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractOrdersbook implements java.io.Serializable {

	// Fields

	private Integer ordersBookId;
	private Book book;
	private Integer ordersId;
	private Integer bookAmount;

	// Constructors

	/** default constructor */
	public AbstractOrdersbook() {
	}

	/** full constructor */
	public AbstractOrdersbook(Book book, Integer ordersId, Integer bookAmount) {
		this.book = book;
		this.ordersId = ordersId;
		this.bookAmount = bookAmount;
	}

	// Property accessors

	public Integer getOrdersBookId() {
		return this.ordersBookId;
	}

	public void setOrdersBookId(Integer ordersBookId) {
		this.ordersBookId = ordersBookId;
	}

	public Book getBook() {
		return this.book;
	}

	public void setBook(Book book) {
		this.book = book;
	}

	public Integer getOrdersId() {
		return this.ordersId;
	}

	public void setOrdersId(Integer ordersId) {
		this.ordersId = ordersId;
	}

	public Integer getBookAmount() {
		return this.bookAmount;
	}

	public void setBookAmount(Integer bookAmount) {
		this.bookAmount = bookAmount;
	}

}